<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<html>
<head>
   <title>Provide it</title>
</head>
<body>
<h1>Provide</h1>
<form:form modelAttribute="provide" method="post">
   <fieldset>
      <legend>Provide Fields</legend>
      <p>
         <form:label for="name" path="name" cssErrorClass="error">Name</form:label><br/>
         <form:input path="name"/> <form:errors path="name"/>
      </p>

      <p>
         <form:label for="characteristic" path="characteristic" cssErrorClass="error">Characteristic</form:label><br/>
         <form:input path="characteristic"/> <form:errors path="characteristic"/>
      </p>

      <p>
         <input type="submit"/>
      </p>
   </fieldset>

</form:form>
<div>
   <ul>
      <c:forEach items="${foundCharacteristics}" var="foundCharacteristic">
         <li>${foundCharacteristic.key} : ${foundCharacteristic.value}</li>
      </c:forEach>
   </ul>
</div>
</body>
</html>